package com.ding.eduservice.client.impl;

import com.ding.commonutils.Result;
import com.ding.eduservice.client.VodClient;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class Hystriximpl implements VodClient {
    @Override
    public Result delVideo(String videoId) {
        return Result.error().message("删除小节视频失败");
    }

    @Override
    public Result deleteBatch(List<String> videoIdList) {
        return Result.error().message("删除多个视频失败");
    }
}
